/**
 * @Project Name:hoofungson-elk-log
 * @Package Name:cn.hoofungson.framework.elk.log.monitor
 * @Since JDK 1.8
 */

package cn.hoofungson.framework.elk.log.monitor;

import org.slf4j.LoggerFactory;

/**
 * @Description: 监控日志工厂
 * @Author 胡松 hoofungson@163.com
 * @Date 2019-08-27 10:24
 * @Version V1.0
 */
public class MonitorLoggerFactory {

    public MonitorLoggerFactory() {
    }

    public static MonitorLogger getMonitorLogger(Class<?> clazz) {
        return new MonitorLogger(LoggerFactory.getLogger(clazz));
    }

    public static MonitorLogger getMonitorLogger(String name) {
        return new MonitorLogger(LoggerFactory.getLogger(name));
    }
}
